package com.bdsys.service;

import com.bdsys.common.service.BusinessService;
import com.bdsys.servicedto.MessageDetailDTO;
import com.bdsys.servicedto.MessageServiceDTO;
import com.bdsys.servicedto.UserServiceDTO;

public interface MessageService extends BusinessService {

	public void addMessage(MessageServiceDTO inServiceDTO);

	public MessageServiceDTO selectMessagesBySenderId(String senderId);

	public MessageServiceDTO selectMessagesByRecieverId(String senderId);
	
	public MessageServiceDTO selectMessagesByConditions(MessageServiceDTO inServiceDTO);

	public void deleteMessage(String id);

	public void deleteSenderMessage(String id);

	public void deleteRevieverMessage(String id);

	public void updateMessage(MessageServiceDTO inServiceDTO);

}
